/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tongxunlu;

import java.io.Serializable;

/**
 *
 * @author Tim
 */
public class netmassage implements Serializable{
    private String HOMEPAGE;/*个人主页*/
    private String QQNUM;
    private String MSNNUM;
    private String BACKUPEMAIL;/*备用邮箱*/

    public netmassage() {
        this("","","","");
    }

    public netmassage(String HOMEPAGE, String QQNUM, String MSNNUM, String BACKUPEMAIL) {
        this.HOMEPAGE = HOMEPAGE;
        this.QQNUM = QQNUM;
        this.MSNNUM = MSNNUM;
        this.BACKUPEMAIL = BACKUPEMAIL;
    }

    public void setBACKUPEMAIL(String BACKUPEMAIL) {
        this.BACKUPEMAIL = BACKUPEMAIL;
    }

    public void setHOMEPAGE(String HOMEPAGE) {
        this.HOMEPAGE = HOMEPAGE;
    }

    public void setMSNNUM(String MSNNUM) {
        this.MSNNUM = MSNNUM;
    }

    public void setQQNUM(String QQNUM) {
        this.QQNUM = QQNUM;
    }

    public String getBACKUPEMAIL() {
        return BACKUPEMAIL;
    }

    public String getHOMEPAGE() {
        return HOMEPAGE;
    }

    public String getMSNNUM() {
        return MSNNUM;
    }

    public String getQQNUM() {
        return QQNUM;
    }
    public boolean isEmpty(){
        if(this.BACKUPEMAIL.isEmpty()&&this.HOMEPAGE.isEmpty()&&this.MSNNUM.isEmpty()&&this.QQNUM.isEmpty())return true;
        return false;
    }
    
}
